<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加</title>
<#assign base=request.contextPath  />
    <base id="base" href="${base}">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, adminUser-scalable=0">
    <link rel="stylesheet" href="${base}/static/win10/component/layui/css/layui.css" media="all">
    <script>
        var base =  "${base}";
    </script>
</head>
<body>
<br>
<form class="layui-form " action="">
         <input disabled type="hidden" id="id" name="id" value="${user.id!}" >
          <div class="layui-form-item">
              <label class="layui-form-label">openId</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="openid" name="openid" value="${user.openid!}"  autocomplete="off" placeholder="请输入微信或者支付宝小程序id"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">微信或者支付宝</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="source" name="source" value="${user.source!}"  autocomplete="off" placeholder="请输入微信或者支付宝"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">用户名</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="userName" name="userName" value="${user.userName!}"  autocomplete="off" placeholder="请输入用户名"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">昵称</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="nick" name="nick" value="${user.nick!}"  autocomplete="off" placeholder="请输入昵称"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">照片</label>
              <div class="layui-input-block">
                 <img src="${user.photo!}">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">是否实名</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="ischeck" name="ischeck" value="${user.ischeck!}"  autocomplete="off" placeholder="请输入是否实名"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">注册时间</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="regTime" name="regTime"   autocomplete="off" placeholder="请输入注册时间"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">手机号</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="phone" name="phone" value="${user.phone!}"  autocomplete="off" placeholder="请输入手机号"
                         class="layui-input">
              </div>
          </div>
          <div class="layui-form-item">
              <label class="layui-form-label">性别</label>
              <div class="layui-input-block">
                  <input disabled type="text" id="gereen" name="gereen" value="${user.gereen!}"  autocomplete="off" placeholder="请输入性别"
                         class="layui-input">
              </div>
          </div>
</form>
<script src="${base}/static/win10/component/layui/layui.js?t=1"></script>
<script src="${base}/static/win10/js/jquery-1.8.3.min.js?t=1"></script>
<script src="${base}/static/win10/js/zhang.js?t=1"></script>
<script>
    layui.use(['table','util'], function () {
        var table = layui.table;
        var util = layui.util;
        if("${user.regTime!}"==""||"${user.regTime!}"==null){
            $("#regTime").val("无")
        }else{
            $("#regTime").val(changeDateFormat("${user.regTime!}"))
        }

        if("${user.gereen!}"==""||"${user.gereen!}"==null||"${user.gereen!}"!=1){
            $("#gereen").val("女")
        }else{
            $("#gereen").val("男")
        }

    })
</script>
</body>
</html>